package cmbchina.util;

import java.util.List;

/**
 * 作用：
 * Author: admin
 * Date:17-1-11
 */
public class ScriptResult {

    private boolean connect;//连接是否成功
    private int returnCode;//返回码0成功 2000运行中
    private String result;//返回结果
    private List<String> resultList;//返回结果


    public boolean isConnect() {
        return connect;
    }

    public void setConnect(boolean connect) {
        this.connect = connect;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public List<String> getResultList() {
        return resultList;
    }

    public void setResultList(List<String> resultList) {
        this.resultList = resultList;
    }

    @Override
    public String toString() {
        return "ScriptResult{" +
                "connect=" + connect +
                ", returnCode=" + returnCode +
                ", result='" + result + '\'' +
                ", resultList=" + resultList +
                '}';
    }

}
